.class public Lcom/instagram/model/people/a/a;
.super Lcom/fasterxml/jackson/databind/deser/std/StdDeserializer;
.source "PeopleTagDeserializer.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/fasterxml/jackson/databind/deser/std/StdDeserializer",
        "<",
        "Lcom/instagram/model/people/PeopleTag;",
        ">;"
    }
.end annotation


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    .line 21
    const-class v0, Lcom/instagram/model/people/PeopleTag;

    invoke-direct {p0, v0}, Lcom/fasterxml/jackson/databind/deser/std/StdDeserializer;-><init>(Ljava/lang/Class;)V

    .line 22
    return-void
.end method

.method public static a(Lcom/fasterxml/jackson/a/l;)Lcom/instagram/model/people/PeopleTag;
    .locals 2
    .parameter

    .prologue
    .line 52
    new-instance v0, Lcom/instagram/model/people/a/a;

    invoke-direct {v0}, Lcom/instagram/model/people/a/a;-><init>()V

    const/4 v1, 0x0

    invoke-virtual {v0, p0, v1}, Lcom/instagram/model/people/a/a;->a(Lcom/fasterxml/jackson/a/l;Lcom/fasterxml/jackson/databind/DeserializationContext;)Lcom/instagram/model/people/PeopleTag;

    move-result-object v0

    return-object v0
.end method


# virtual methods
.method public a(Lcom/fasterxml/jackson/a/l;Lcom/fasterxml/jackson/databind/DeserializationContext;)Lcom/instagram/model/people/PeopleTag;
    .locals 4
    .parameter
    .parameter

    .prologue
    .line 27
    new-instance v0, Lcom/instagram/model/people/PeopleTag;

    invoke-direct {v0}, Lcom/instagram/model/people/PeopleTag;-><init>()V

    .line 29
    :cond_0
    :goto_0
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    move-result-object v1

    sget-object v2, Lcom/fasterxml/jackson/a/r;->c:Lcom/fasterxml/jackson/a/r;

    if-eq v1, v2, :cond_3

    .line 30
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->getCurrentName()Ljava/lang/String;

    move-result-object v1

    .line 32
    const-string v2, "user"

    invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    .line 33
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    .line 34
    invoke-static {p1}, Lcom/instagram/android/model/b/l;->a(Lcom/fasterxml/jackson/a/l;)Lcom/instagram/android/model/b/e;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/model/people/PeopleTag;->a(Lcom/instagram/android/model/b/e;)V

    goto :goto_0

    .line 35
    :cond_1
    const-string v2, "position"

    invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_2

    .line 36
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    .line 37
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    .line 38
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->getFloatValue()F

    move-result v1

    .line 39
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    .line 40
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->getFloatValue()F

    move-result v2

    .line 41
    new-instance v3, Landroid/graphics/PointF;

    invoke-direct {v3, v1, v2}, Landroid/graphics/PointF;-><init>(FF)V

    invoke-virtual {v0, v3}, Lcom/instagram/model/people/PeopleTag;->a(Landroid/graphics/PointF;)V

    .line 42
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    goto :goto_0

    .line 43
    :cond_2
    if-eqz v1, :cond_0

    .line 44
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->skipChildren()Lcom/fasterxml/jackson/a/l;

    goto :goto_0

    .line 48
    :cond_3
    return-object v0
.end method

.method public synthetic deserialize(Lcom/fasterxml/jackson/a/l;Lcom/fasterxml/jackson/databind/DeserializationContext;)Ljava/lang/Object;
    .locals 1
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 18
    invoke-virtual {p0, p1, p2}, Lcom/instagram/model/people/a/a;->a(Lcom/fasterxml/jackson/a/l;Lcom/fasterxml/jackson/databind/DeserializationContext;)Lcom/instagram/model/people/PeopleTag;

    move-result-object v0

    return-object v0
.end method
